home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.misc,comp.sys.amiga.hardware
- Path: netcom.com!wfblan
- From: wfblan@netcom.com (Wells Fargo Bank)
- Subject: Re: OS features
- Message-ID: <wfblanDL61Eq.DnH@netcom.com>
- Organization: NETCOM On-line Communication Services (408 261-4700 guest)
- X-Newsreader: TIN [version 1.2 PL1]
- References: <92747544038@PAPA.NORTH.DE> <4b3h9s$1st@alterdial.UU.NET> <2152.6561T63T2136@cycor.ca> <4b7i18$si1@vixen.cso.uiuc.edu> <oj6raxxrr0o.fsf@hpsrk.fc.hp.com> <13213431@sourcery.han.de>
- Date: Sun, 14 Jan 1996 10:06:26 GMT
- Sender: wfblan@netcom8.netcom.com
-
- Olaf Barthel (olsen@sourcery.han.de) wrote:
- : In Article <oj6raxxrr0o.fsf@hpsrk.fc.hp.com>, Steve Koren <koren@hpsrk.fc.hp.com> wrote:
- : >
- : > Someone wrote:
- : >
- : > > >Memory protection is one, is it really worth the added overhead? I
- : >
- : > IMHO, yes, it is 100% worth the marginal overhead. I could mention any
- : > of a zillion reasons, but here are a few:
- : >
- : > * Right now, one cannot safely do program development on an Ami which
- : > has been doing some long-duration background task without risk of
- : > crashing the machine and loosing all the work the background task
- : > has done. I do a fair amount of programming, so this is annoying.
-
- [snip]
-
- : > Without protection, you can be tolerably stable for hobbyist use, as the
- : > Amiga is now, but you're never going to get to the level of stability
- : > you can get to with memory protection. I want to be able to safely
- : > compile and debug my latest program, or try something I downloaded from
- : > aminet, while I'm 5 hours into a Lightwave render without the major risk
- : > of crashing the machine.
-
- [snip]
-
- Could a new 'layer' for the OS be written that you can set up a 'protected'
- portion of memory for a special purpose, ie, programming as the example is
- above, that within that protected memory it would act as its own machine,
- seperate from the rest? Then, at the same time, the rest of the machine
- continues to run as it normally would (minus a little overhead for the new
- layer)? Then, if the main part of memory crashed, the protected portion
- would still be intact and running? You may have to 'finish' whatever you
- were doing in the 'protected' part of memory before you could re-boot to
- get back the rest of your system, but you at least wouldn't be forced into
- a re-boot for the portion of memory that was doing your 'important' task.
-
- This could possibly be done more than once, and therefore have multiple
- parts of RAM set aside as 'protected' Memory space. In any case, my main
- goal is to consider some approach to this that would allow us to work with
- the OS as it currently stands (adding a layer versus a complete re-write),
- that would also give us a much higher level of stability (when specifically
- needed and requested... ie, writing term paper, programming, rendering, etc).
- For 'game playing' or basic tele-communications, this wouldn't be critical.
-
- I am not an experienced programmer on the Amiga, but I do use it with my
- own set of needs, desires and problems. These ideas are coming from what
- I see as needed, generally, and what would specifically make me happy.
-
- : > Someone else wrote:
- : >
- : > > In other words, don't worry about it. Virtual memory is good.
- : >
- : > Yep, also, virtual memory can fix fragmentation problems that can plague
- : > Amigas now. They give you an extra level of indirection that can be
- : > used to get a single non-fragmented block as big as your available
- : > space. I use VMM on the Amiga as much for this as for getting more
- : > memory. Without it, even on my 16 Mb machine, I sometimes get into a
- : > state where I have 12 Mb free but cannot allocate a 3 Mb buffer because
- : > my largest single fragment is less than that. With VM, this is not a
- : > problem. There may be fragmentation on the physical media, but the MMU
- : > can make this appear as a single contiguous block to the machine. If I
- : > have 20 Mb free, I know I can allocate a single 20 Mb block of memory.
-
- Now this is the FIRST time I have read a reason for Virtual Memory that I
- personally could have a use for. I would rather have physical RAM over
- soft-RAM or a HD-cache anyday, but to solve fragmentation problems, this
- is a first for me. I am glad to know that this solves that problem. I
- hate it when I have the typical 'large' amount of free memory available,
- but can only access a reletively small portion of it due to fragmentation.
-
- : --
- : Home: Olaf Barthel, Brabeckstrasse 35, D-30559 Hannover
- : Net: olsen@sourcery.han.de
-
- Not that I am aware of just how much programming experience ALL of you have,
- but for those of you who do have some, thanks for listening to my ideas.
- Hey, we can learn something from everyone, right? Comments?
-
- Rob Bamford
- (wfblan@netcom.com)
-